body {
    margin: 0;
}

#banner {
    width: 1250px;
    height: 460px;
    overflow: hidden;
    background:white;
    
    /*面板使用相对定位，方便在其上面使用绝对定位添加元素*/
    position: relative;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#banner ul li img {
    width: 100%;
    
}

#banner .item {
    position: absolute;
    top: 0;
    display: none;
    opacity: 0;
    animation-timing-function: ease-in-out;
}

/*初始加载时，显示第一张图片*/
#banner .item:first-child {
    display: block;
    opacity: 1;
}

.arrow #leftArrow,
.arrow #rightArrow {
    width: 40px;
    height: 69px;
    position: absolute;
    top: 195px;
}


.arrow #rightArrow {
    right: 10px;
    background-image: url("../img/1bafcc3757a9f349579e54172efe99a.png");
    background-position: -126px 0;
    background-repeat: no-repeat;
}
.arrow #rightArrow:hover{
    background-position: -42px 0;
    
}

/*右下角小圆点切换*/
.zeroPoint {
    position: absolute;
    bottom: 20px;
    right: 40px;
}

.zeroPoint li {
    width: 10px;
    height: 10px;
    border: 2px solid #555;
    background: #555;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.zeroPoint li:hover {
    background: #fff;
}

.zeroPoint li.hover {
    background: #fff;
}

/*定义图片切换动画样式*/
/*淡出*/
@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@-webkit-keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/*淡入*/
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}